import org.apache.spark.{SparkConf, SparkContext}  
object RDDTransformations {  
  def main(args: Array[String]): Unit = {  
    val conf = new SparkConf().setAppName("RDD Transformations").setMaster("local[*]")  
    val sc = new SparkContext(conf)  
    val rdd = sc.parallelize(1 to 100)  
    val filteredRDD = rdd.map(x => x * 2).filter(x => x > 100)  
    filteredRDD.collect().foreach(println)  
    sc.stop()  
  }  
}